//Copyright 2012 Trevin Liberty
//GNU GPL v3
//Author: Trevin Liberty
//
//Threads that continually pull requests from AStar 
//	and create paths that are then pushed back into AStar.
//SEE: AStar.h
//
//ATTN: Something wrong here. When shutting the game down, it
//	takes too long to stop these threads.

#ifndef PATHING_THREAD_H
#define PATHING_THREAD_H

#include "AStar.h"

//The number of threads that will be running AStar.
const int NUM_THREADS = 1;

//SEE: Top of file
class PathingThread {
private:
	ALLEGRO_THREAD *thread[NUM_THREADS];

	AStar* astar;

public:
	PathingThread(AStar* astar);
	~PathingThread();
};

#endif